#ifndef ALIYUN_END_POINT_PROVIDER_H_
#define ALIYUN_END_POINT_PROVIDER_H_

#include <vector>
#include "core/utils/string_helper.h"
#include "core/regions/end_point.h"

namespace aliyun {

class EndpointProvider {
public:
  static void SetDefaultEndpoints(void);

  static string FindProductDomain(const string& region_id, const string& product);

  static std::vector<Endpoint>& GetEndpoints(void);

  static void SetEndpoints(const std::vector<Endpoint>& endpoints);

private:
  static std::vector<Endpoint> endpoints_;
};

} // namespace aliyun {

#endif // #ifndef ALIYUN_END_POINT_PROVIDER_H_

// end of file
